package com.craterhill.java.ccp.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.craterhill.java.ccp.common.beans.Student;
import com.craterhill.java.ccp.dao.StudentDao;
import com.craterhill.java.ccp.service.StudentService;


@Service
public class StudentServiceImpl implements StudentService {

	@Autowired
	private StudentDao StudentDao;

	public List<Student> getStudents() {
		return StudentDao.findAll();
	}

	@Override
	public Student getStudent() {
		return null;
	}
}
